﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class PaintToBitmap
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class PaintToBitmap
   ">
    <meta name="generator" content="docfx 2.59.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.Forms.PaintToBitmap">
  
  
  <h1 id="CADability_Forms_PaintToBitmap" data-uid="CADability.Forms.PaintToBitmap" class="text-break">Class PaintToBitmap
  </h1>
  <div class="markdown level0 summary"><p>Class to create a bitmap and draw IGeoObjects or Models on the it.
GDI+ is used for drawing, not OpenGL.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="CADability.Forms.PaintToGDI.html">PaintToGDI</a></div>
    <div class="level2"><span class="xref">PaintToBitmap</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.IDisposable</span></div>
    <div><span class="xref">CADability.IPaintTo3D</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_projection">PaintToGDI.projection</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_graphics">PaintToGDI.graphics</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_graphicsPath">PaintToGDI.graphicsPath</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_Projection">PaintToGDI.Projection</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_SetCenter_CADability_GeoPoint2D_">PaintToGDI.SetCenter(GeoPoint2D)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_SetScaling_System_Double_">PaintToGDI.SetScaling(Double)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_Fit_CADability_BoundingRect_System_Boolean_">PaintToGDI.Fit(BoundingRect, Boolean)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_ThinLinesOnly">PaintToGDI.ThinLinesOnly</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PaintSurfaces">PaintToGDI.IPaintTo3D.PaintSurfaces</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PaintEdges">PaintToGDI.IPaintTo3D.PaintEdges</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PaintSurfaceEdges">PaintToGDI.IPaintTo3D.PaintSurfaceEdges</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_UseLineWidth">PaintToGDI.IPaintTo3D.UseLineWidth</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Precision">PaintToGDI.IPaintTo3D.Precision</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PixelToWorld">PaintToGDI.IPaintTo3D.PixelToWorld</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SelectMode">PaintToGDI.IPaintTo3D.SelectMode</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SelectColor">PaintToGDI.IPaintTo3D.SelectColor</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_DelayText">PaintToGDI.IPaintTo3D.DelayText</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_DelayAll">PaintToGDI.IPaintTo3D.DelayAll</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_TriangulateText">PaintToGDI.IPaintTo3D.TriangulateText</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_DontRecalcTriangulation">PaintToGDI.IPaintTo3D.DontRecalcTriangulation</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Capabilities">PaintToGDI.IPaintTo3D.Capabilities</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_MakeCurrent">PaintToGDI.IPaintTo3D.MakeCurrent()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SetColor_System_Drawing_Color_System_Int32_">PaintToGDI.IPaintTo3D.SetColor(Color, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_AvoidColor_System_Drawing_Color_">PaintToGDI.IPaintTo3D.AvoidColor(Color)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SetLineWidth_CADability_Attribute_LineWidth_">PaintToGDI.IPaintTo3D.SetLineWidth(LineWidth)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SetLinePattern_CADability_Attribute_LinePattern_">PaintToGDI.IPaintTo3D.SetLinePattern(LinePattern)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Polyline_CADability_GeoPoint___">PaintToGDI.IPaintTo3D.Polyline(GeoPoint[])</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_FilledPolyline_CADability_GeoPoint___">PaintToGDI.IPaintTo3D.FilledPolyline(GeoPoint[])</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Points_CADability_GeoPoint___System_Single_CADability_GeoObject_PointSymbol_">PaintToGDI.IPaintTo3D.Points(GeoPoint[], Single, PointSymbol)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Triangle_CADability_GeoPoint___CADability_GeoVector___System_Int32___">PaintToGDI.IPaintTo3D.Triangle(GeoPoint[], GeoVector[], Int32[])</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PrepareText_System_String_System_String_System_Drawing_FontStyle_">PaintToGDI.IPaintTo3D.PrepareText(String, String, FontStyle)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PrepareIcon_System_Drawing_Bitmap_">PaintToGDI.IPaintTo3D.PrepareIcon(Bitmap)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Text_CADability_GeoVector_CADability_GeoVector_CADability_GeoPoint_System_String_System_String_System_Drawing_FontStyle_CADability_GeoObject_Text_AlignMode_CADability_GeoObject_Text_LineAlignMode_">PaintToGDI.IPaintTo3D.Text(GeoVector, GeoVector, GeoPoint, String, String, FontStyle, Text.AlignMode, Text.LineAlignMode)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_List_CADability_IPaintTo3DList_">PaintToGDI.IPaintTo3D.List(IPaintTo3DList)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SelectedList_CADability_IPaintTo3DList_System_Int32_">PaintToGDI.IPaintTo3D.SelectedList(IPaintTo3DList, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Nurbs_CADability_GeoPoint___System_Double___System_Double___System_Int32_">PaintToGDI.IPaintTo3D.Nurbs(GeoPoint[], Double[], Double[], Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Line2D_System_Int32_System_Int32_System_Int32_System_Int32_">PaintToGDI.IPaintTo3D.Line2D(Int32, Int32, Int32, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Line2D_System_Drawing_PointF_System_Drawing_PointF_">PaintToGDI.IPaintTo3D.Line2D(PointF, PointF)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_FillRect2D_System_Drawing_PointF_System_Drawing_PointF_">PaintToGDI.IPaintTo3D.FillRect2D(PointF, PointF)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Point2D_System_Int32_System_Int32_">PaintToGDI.IPaintTo3D.Point2D(Int32, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_DisplayIcon_CADability_GeoPoint_System_Drawing_Bitmap_">PaintToGDI.IPaintTo3D.DisplayIcon(GeoPoint, Bitmap)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_DisplayBitmap_CADability_GeoPoint_System_Drawing_Bitmap_">PaintToGDI.IPaintTo3D.DisplayBitmap(GeoPoint, Bitmap)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PrepareBitmap_System_Drawing_Bitmap_System_Int32_System_Int32_">PaintToGDI.IPaintTo3D.PrepareBitmap(Bitmap, Int32, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PrepareBitmap_System_Drawing_Bitmap_">PaintToGDI.IPaintTo3D.PrepareBitmap(Bitmap)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_RectangularBitmap_System_Drawing_Bitmap_CADability_GeoPoint_CADability_GeoVector_CADability_GeoVector_">PaintToGDI.IPaintTo3D.RectangularBitmap(Bitmap, GeoPoint, GeoVector, GeoVector)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SetProjection_CADability_Projection_CADability_BoundingCube_">PaintToGDI.IPaintTo3D.SetProjection(Projection, BoundingCube)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Clear_System_Drawing_Color_">PaintToGDI.IPaintTo3D.Clear(Color)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Resize_System_Int32_System_Int32_">PaintToGDI.IPaintTo3D.Resize(Int32, Int32)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_OpenList_System_String_">PaintToGDI.IPaintTo3D.OpenList(String)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_CloseList">PaintToGDI.IPaintTo3D.CloseList()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_OpenPath">PaintToGDI.IPaintTo3D.OpenPath()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_CloseFigure">PaintToGDI.IPaintTo3D.CloseFigure()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_ClosePath_System_Drawing_Color_">PaintToGDI.IPaintTo3D.ClosePath(Color)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Arc_CADability_GeoPoint_CADability_GeoVector_CADability_GeoVector_System_Double_System_Double_">PaintToGDI.IPaintTo3D.Arc(GeoPoint, GeoVector, GeoVector, Double, Double)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_MakeList_System_Collections_Generic_List_CADability_IPaintTo3DList__">PaintToGDI.IPaintTo3D.MakeList(List&lt;IPaintTo3DList&gt;)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_FreeUnusedLists">PaintToGDI.IPaintTo3D.FreeUnusedLists()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_UseZBuffer_System_Boolean_">PaintToGDI.IPaintTo3D.UseZBuffer(Boolean)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Blending_System_Boolean_">PaintToGDI.IPaintTo3D.Blending(Boolean)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_FinishPaint">PaintToGDI.IPaintTo3D.FinishPaint()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PaintFaces_CADability_PaintTo3D_PaintMode_">PaintToGDI.IPaintTo3D.PaintFaces(PaintTo3D.PaintMode)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_FacesBehindEdgesOffset">PaintToGDI.IPaintTo3D.FacesBehindEdgesOffset</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_IsBitmap">PaintToGDI.IPaintTo3D.IsBitmap</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_Dispose">PaintToGDI.IPaintTo3D.Dispose()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PushState">PaintToGDI.IPaintTo3D.PushState()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PopState">PaintToGDI.IPaintTo3D.PopState()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PushMultModOp_CADability_ModOp_">PaintToGDI.IPaintTo3D.PushMultModOp(ModOp)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PopModOp">PaintToGDI.IPaintTo3D.PopModOp()</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_SetClip_System_Drawing_Rectangle_">PaintToGDI.IPaintTo3D.SetClip(Rectangle)</a>
    </div>
    <div>
      <a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_CADability_IPaintTo3D_PreparePointSymbol_CADability_GeoObject_PointSymbol_">PaintToGDI.IPaintTo3D.PreparePointSymbol(PointSymbol)</a>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.Forms.html">CADability.Forms</a></h6>
  <h6><strong>Assembly</strong>: CADability.Forms.dll</h6>
  <h5 id="CADability_Forms_PaintToBitmap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PaintToBitmap : PaintToGDI, IDisposable, IPaintTo3D</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  
  
  <a id="CADability_Forms_PaintToBitmap__ctor_" data-uid="CADability.Forms.PaintToBitmap.#ctor*"></a>
  <h4 id="CADability_Forms_PaintToBitmap__ctor_System_Int32_System_Int32_" data-uid="CADability.Forms.PaintToBitmap.#ctor(System.Int32,System.Int32)">PaintToBitmap(Int32, Int32)</h4>
  <div class="markdown level1 summary"><p>Creates a bitmap with the specified size to draw on it.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public PaintToBitmap(int width, int height)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">width</span></td>
        <td><p>Width of the bitmap in pixel</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">height</span></td>
        <td><p>Height of the Bitmap in pixel</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  
  
  <a id="CADability_Forms_PaintToBitmap_Bitmap_" data-uid="CADability.Forms.PaintToBitmap.Bitmap*"></a>
  <h4 id="CADability_Forms_PaintToBitmap_Bitmap" data-uid="CADability.Forms.PaintToBitmap.Bitmap">Bitmap</h4>
  <div class="markdown level1 summary"><p>Gets the Bitmap</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Bitmap Bitmap { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Drawing.Bitmap</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  
  
  <a id="CADability_Forms_PaintToBitmap_Dispose_" data-uid="CADability.Forms.PaintToBitmap.Dispose*"></a>
  <h4 id="CADability_Forms_PaintToBitmap_Dispose" data-uid="CADability.Forms.PaintToBitmap.Dispose">Dispose()</h4>
  <div class="markdown level1 summary"><p>Disposes bitmap and graphics objects</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override void Dispose()</code></pre>
  </div>
  <h5 class="overrides">Overrides</h5>
  <div><a class="xref" href="CADability.Forms.PaintToGDI.html#CADability_Forms_PaintToGDI_Dispose">PaintToGDI.Dispose()</a></div>
  
  
  <a id="CADability_Forms_PaintToBitmap_Paint_" data-uid="CADability.Forms.PaintToBitmap.Paint*"></a>
  <h4 id="CADability_Forms_PaintToBitmap_Paint_CADability_GeoObject_IGeoObject_" data-uid="CADability.Forms.PaintToBitmap.Paint(CADability.GeoObject.IGeoObject)">Paint(IGeoObject)</h4>
  <div class="markdown level1 summary"><p>Paints a GeoObject onto the bitmap</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Paint(IGeoObject go)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">CADability.GeoObject.IGeoObject</span></td>
        <td><span class="parametername">go</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  
  
  <a id="CADability_Forms_PaintToBitmap_Paint_" data-uid="CADability.Forms.PaintToBitmap.Paint*"></a>
  <h4 id="CADability_Forms_PaintToBitmap_Paint_CADability_Model_" data-uid="CADability.Forms.PaintToBitmap.Paint(CADability.Model)">Paint(Model)</h4>
  <div class="markdown level1 summary"><p>Draws a Model onto the bitmap.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Paint(Model m)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">CADability.Model</span></td>
        <td><span class="parametername">m</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.IDisposable</span>
  </div>
  <div>
      <span class="xref">CADability.IPaintTo3D</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
